package com.tutorials.impl;

import com.tutorials.CalculaitonArea;

/**
 * @Classname CalculationAreaImpl
 * @Description TODO
 * @Date 2022/5/3 23:02
 * @Created by 666
 */
public class CalculationAreaImpl implements CalculaitonArea {

    private static final double T = 3.14D;


    @Override
    public Double circular(double r) {
        return  T * r * r;
    }
}
